var CommonUtil={
	constructURL: function(apiURL,method, param) {
		if(arguments.length < 1) {
			throw new Error("此函数必须有一个参数");
		}
		var paramURL = "";
		if(param instanceof Object) {
			for(o in param) {
				if(paramURL === "") {
					paramURL = "?" + o + "=" + param[o];
				} else {
					paramURL += "&" + o + "=" + param[o];
				}
			}
			paramURL = apiURL + "/" + method + ".do" + paramURL;
		} else {
			paramURL = apiURL + "/" + method + ".do";
		}
		return paramURL;
	},
};
